<?xml version="1.0" encoding="UTF-8" ?>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<link href="css/moban.css" type="text/css" rel="stylesheet" media="screen" />
    <link href="css/widget.css" type="text/css" rel="stylesheet" media="screen" />
    <link href="./superAdmin/css/addbtn.css" type="text/css" rel="stylesheet" media="screen" />
<script LANGUAGE="JavaScript">
	function SelectAll() {
		var listc = document.getElementsByName("choose");
		if (document.getElementById("CheckAll").checked == true) {
			for (var i = 0; i < listc.length; i++) {
				listc[i].checked = true;
			}
		} else {
			for (var i = 0; i < listc.length; i++) {
				listc[i].checked = false;
			}
		}
	}
</script>
</head>
<body>
<div style="background-color:#2E5E79;width:100%;height:50px;position:fixed;top:0;left:0;"></div>
<div id="package">
	<div id="hel">
		<div id="title">
    		<span><img src="./managementOfMember/images/home.png" /> &nbsp;通过的操作</span>
    	</div>
    </div>
	<div id="content">
    		<table class="tab">
				<tr>
					
					<th width="11%" height="25px">序号</th>
					<th width="11%">姓名</th>
					<th width="11%">身份证</th>
					<th width="11%">团总支</th>
					<th width="20%">团支部</th>
					<th width="11%">操作</th>
					<th width="11%">详情进入</th>
				</tr>
				<s:iterator value="page.list" id="tempMember" status="index">
					<tr style="height:25px;">
						
						<td><s:property value="#index.index+1" /></td>
						<td>${tempMember.member.getValue('name')}</td>
						<td>${tempMember.member.getValue('idcard')}</td>
						<td>${tempMember.member.getValue('department')}</td>
						<td>${tempMember.member.getValue('major')}</td>
						<td style="color:red;">
						<input type="button" name="submit" class="className" style="margin-top: -3px;width:80px;color:yellow;" value=" ${tempMember.getDetails()}" />
						</td>
						<td><a
							href="showDetailAudit.action?idcard=${tempMember.member.getValue('idcard')}&checkcondition=${checkcondition}"><input type="submit" name="submit" class="className" style="width:60px;margin-top: -3px;" value=" 详情进入 " /></a></td>
					</tr>
				</s:iterator>
				<tr>
					<td colspan="10"><br /></td>
				</tr>
				<tr>
					<td colspan="10">
							<div id="operation" style="padding-left:30%">
    		<s:if test="#session.master.issuper==1">
	    		<ul>
					<li><a href="showPassAudit.action?checkcondition=2&beginPage=1">首页&nbsp;&nbsp;&nbsp;</a></li>
					<li>
						<s:if test="beginPage==1">上一页&nbsp;&nbsp;&nbsp;</s:if>
						<s:else>
							<a href="showPassAudit.action?checkcondition=2&beginPage=<s:property value="beginPage-1" />">上一页&nbsp;&nbsp;&nbsp;</a>
						</s:else>
					</li>
					<li style="width:80px;">共<s:property value="page.getTotalCount()" />条记录,</li><li style="width:70px;">每页<s:property value="page.getEveryPage()" />条</li>
					<li><s:property value="beginPage" />/<s:property value="page.getTotalPage()" />&nbsp;&nbsp;&nbsp;</li>
					<li>
				 		<s:if test="beginPage>=page.totalPage">下一页</s:if>
						<s:else>
							<a href="showPassAudit.action?checkcondition=2&beginPage=<s:property value="beginPage+1"/>">下一页</a>
						</s:else>
					</li>
					<li><a href="showPassAudit.action?checkcondition=2&beginPage=<s:property value="page.totalPage"/> ">&nbsp;&nbsp;&nbsp;尾页</a></li>
				</ul>
			</s:if>
			<s:else>
				<ul>
					<li><a href="showPassAudit.action?checkcondition=2&masterid=<s:property value="#session.master.id"/>checkcondition=1&beginPage=1">首页&nbsp;&nbsp;&nbsp;</a></li>
					<li>
						<s:if test="beginPage==1">上一页&nbsp;&nbsp;&nbsp;</s:if>
						<s:else>
							<a href="showPassAudit.action?checkcondition=2&masterid=<s:property value="#session.master.id"/>&beginPage=<s:property value="beginPage-1" />">上一页&nbsp;&nbsp;&nbsp;</a>
						</s:else>
					</li>
					<li style="width:80px;">共<s:property value="page.getTotalCount()" />条记录,</li><li style="width:70px;">每页<s:property value="page.getEveryPage()" />条</li>
					<li><s:property value="beginPage" />/<s:property value="page.getTotalPage()" />&nbsp;&nbsp;&nbsp;</li>
			 		<li>
				 		<s:if test="beginPage>=page.totalPage">下一页</s:if>
						<s:else>
							<a href="showPassAudit.action?checkcondition=2&masterid=<s:property value="#session.master.id"/>&beginPage=<s:property value="beginPage+1"/> />">下一页</a>
						</s:else>
					</li>
					<li><a href="showPassAudit.action?checkcondition=2&masterid=<s:property value="#session.master.id"/>&beginPage=<s:property value="page.totalPage"/> ">&nbsp;&nbsp;&nbsp;尾页</a></li>
				</ul>
			</s:else>
    	</div>
					</td>
				</tr>
			</table>
	
    </div>
</div>
</body>
</html>